package com.jumlabs.services.drive
import com.jumlabs.data.entities.drive.File
import java.util.List
import scala.reflect.BeanProperty

trait DriveService {  
  
   /*Drive specific*/
  def list(driveId:String):List[File]  
  def listRootFiles(driveId:String):List[File]  
  def insert(driveId:String,file:File)
  
  
  def insert(parent:File,children:File) 
  def patch(file:File)  
  def update(file:File)
  def copy(file:File)
  
 
  //Set the file to the current date
  def touch(file:File)
  def trash(file:File)
  def untrash(file:File)

  def deleteChildren(file:File)
  def getChildren(file:File)
  def insertChildren(file:File)
  def listChildren(fileID:String):List[File]
  
  def deleteParent(file:File)
  def getParent(file:File)
  def insertParent(file:File)
  def listParents(file:File)
}